<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="../common/commonHeader.jsp" %>    
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="keyword" content="">
    <title>添加用户</title>
</head>

<body>
    <div class="asideR-cont">
        <div class="add-cnt">
            <ul class="add-lst">
            <form id="fbean" method="post">
           	    <input type="hidden" name="type" id="type" value="${type}" >
	            <input type="hidden" name="opId" id="opId" value="${opId}" >
                <li>
                    <label class="lbl-txt">操作员类型：</label>
                    <span class="query-item">
                        <div class="combo" id="opKindCombo"></div>
                    </span>
                    <span class="require">*</span>
                    <input type="hidden" id="opKind" name="opKind" value="${sysOp.opKind }" />
                </li>
                <li>
                    <label class="lbl-txt">操作员名称：</label>
                    <input type="text" class="input-text"  id="opName" name="opName" value="${sysOp.opName }" />
                    <span class="require">*</span>
                    <p class="error-tip">请输入正确的名称</p>
                </li>
                <li>
                    <label class="lbl-txt">操作员编码：</label>
                   <input type="text" class="input-text"  id="opCode" name="opCode" value="${sysOp.opCode}" />
                    <span class="require">*</span>
                    <p class="error-tip">请输入正确的名称</p>
                </li>
                <li>
                    <label class="lbl-txt">登录名：</label>
                    <input type="text" class="input-text"  id="loginCode" name="loginCode" value="${sysOp.loginCode }" />
                    <span class="require">*</span>
                    <p class="error-tip">请输入正确的名称</p>
                </li>
                <li>
                    <label class="lbl-txt">电话：</label>
                     <input type="text" class="input-text"  id="mobileNo" name="mobileNo" value="${sysOp.mobileNo }" />
                </li>
                <li>
                    <label class="lbl-txt">电子邮件地址：</label>
                    <input type="text" class="input-text"  id="emailAdress" name="emailAdress" value="${sysOp.emailAdress }" />
                </li>
                
                 <!-- 文件上传的时候，需要改变此输入域的值 -->
	             <input type="hidden" class="input-text"  id="opPic" name="opPic" value="${sysOp.opPic }"/>
             </form>
                <li>
                    <label class="lbl-txt">头像上传：</label>
                    <div class="upload-box">
                        <input type="text" class="input-text" id="path" />
                        <input type="file" class="file-upload" onchange="showPath()" id="uploadFile" name="uploadFile" />
                        
                        
                        <button class="browse-btn">浏览</button>
                    </div>    
                    <button class="upload-btn" id="upload-btn" >上传</button>
                </li>
            </ul>
            <div class="form-aciton">
                <button class="submit-btn">保存</button>
                <button class="quit-btn">取消</button>
            </div>
        </div>
    </div>
    <script src="<%=rootPath %>/page/user/js/add.js"></script>
</html>